<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>本页菜单搜索提示</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="StyleSheet" href="../styles/coos/tree.css" type="text/css" />
	<link rel="StyleSheet" href="../styles/coos/searchMenu.css" type="text/css" />
    <script type="text/javascript" src="../scripts/coos.js" charset="utf-8"></script>
	<script type="text/javascript" src="../scripts/coos.ui.searchMenu.js" charset="utf-8"></script>
	<script type="text/javascript" src="../scripts/coos.ui.tree.js" charset="utf-8"></script>
</head>
<body>
<!-- 显示搜索结果用的DIV -->
<div id="searchMenu" class="searchMenu" style="display:none;"></div>
<!-- 搜索表单 -->
<div style="width:100%;text-align:left;">
	<form name="search" action="" method="post" onsubmit="return false;">
	<input autocomplete="off" type="text" id="searchKey" name="searchKey" onkeyup="coos.searchMenu.onkeyup(this,'searchMenu','coosTreeDiv','searchButton',event);" onfocus="coos.searchMenu.show(this,'searchMenu','coosTreeDiv','searchButton',event);" onblur="coos.searchMenu.onblur('searchMenu');" value="" class="gray" />
	<input id="searchButton" type="button" value="搜 索" />
	</form>
</div>
<div id="coosTreeDiv" class="coosTree">
	<script type="text/javascript">
		<!--
		//创建一个树对象
		tree = new coosTree('tree');
		//设置是否使用图标
		tree.config.useIcons = false;
		//tree.changeAll()打开或关闭所有节点,tree.o(id)为打开或关闭当前子节点
		//第一个参数为当前节点唯一id，第二个参数为父节点id，根节点的父节点id默认为-1,第三个参数为标题，第四个参数为url
		//tree.add(1, 0, 'My node', 'node.html', 'node title', 'mainframe', 'images/dtree/musicfolder.gif');
		
		tree.add(0,-1,'全部非货币型基金','javascript:tree.changeAll();');
		tree.add(1,0,'基金品种','javascript:tree.o(1);');
			tree.add(2,1,'开放式','javascript:tree.o(2);');
				tree.add(3,2,'股票型','javascript:tree.o(3);');
					tree.add(4,3,'成长型','http://www.baidu.com/s?wd=czx','','_blank');
					tree.add(5,3,'价值型','http://www.baidu.com/s?wd=jzx','','_blank');
					tree.add(6,3,'平衡型','http://www.baidu.com/s?wd=phx','','_blank');
					tree.add(7,3,'指数型','http://www.baidu.com/s?wd=zsx','','_blank');
				tree.add(8,2,'配置型','javascript:tree.o(8);');
					tree.add(9,8,'保本型','#this');
					tree.add(10,8,'混合型','#this');
				tree.add(11,2,'债券型','#this');
			tree.add(12,1,'封闭式','javascript:tree.o(12);');
				tree.add(13,12,'股票型','javascript:tree.o(13);');
					tree.add(14,13,'成长型','#this');
					tree.add(15,13,'价值型','#this');
					tree.add(16,13,'平衡型','#this');
					tree.add(17,13,'指数型','#this');
			tree.add(18,1,'伞型基金','javascript:tree.o(18);');
				tree.add(19,18,'XX投资基金','#this');
			tree.add(20,1,'ETFs','http://www.baidu.com/s?wd=ETFs','','_blank');
			tree.add(20,1,'Esss','http://www.baidu.com/s?wd=Esss','','_blank');
			tree.add(21,1,'LOFs','#this');
			
		tree.add(22,0,'基金公司','javascript:tree.o(22);');
			tree.add(23,22,'基金公司名称','#this');
		
		document.write(tree);
		//-->
	</script>
</div>
<div id="testValue"></div>
</body>
</html>
